<?php /* Smarty version Smarty-3.0.7, created on 2012-10-09 20:56:36
         compiled from "_temp/mctourist/blocks/home_menu/tpl_home_menu.mct" */ ?>
<?php /*%%SmartyHeaderCode:863150741f04ecb2c4-65614339%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f56fbf6540c6daea8e278d61335b7d7766ff67e7' => 
    array (
      0 => '_temp/mctourist/blocks/home_menu/tpl_home_menu.mct',
      1 => 1344085520,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '863150741f04ecb2c4-65614339',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('shopurl')->value;?>
<?php echo $_smarty_tpl->getVariable('base_tpl')->value;?>
/js/home_menu/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
    revealtype: "mouseover", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "normal" //speed of animation: "fast", "normal", or "slow"
})
</script>
<div class="module width_full" style="margin-bottom: 6px;">
    <div id="sp_bar"><div id="header"><span id="h3">Danh mục tour</span></div></div>    
    <div class="module_content cat_left" style="margin: 0pt; display: block; border-top: none;border-left: none;min-height: 45px;">
       <div class="glossymenu">
            <?php if ($_smarty_tpl->getVariable('row')->value){?>
            <a class="menuitem submenuheader" href="tour/2/tour-trong-nuoc/" >Tour Trong Nước</a>            
            <div class="submenu" id="sub1">
            	<ul>
                    <?php  $_smarty_tpl->tpl_vars['m1'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('row')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['m1']->key => $_smarty_tpl->tpl_vars['m1']->value){
?>
                        <?php if ($_smarty_tpl->tpl_vars['m1']->value['tme_root_id']==2){?>
            	           <li><a href="<?php echo $_smarty_tpl->tpl_vars['m1']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['m1']->value['tme_title'];?>
"><?php echo $_smarty_tpl->tpl_vars['m1']->value['tme_title'];?>
</a></li>
                       <?php }?>
                   <?php }} ?>          	
            	</ul>
            </div>	
            <a class="menuitem submenuheader" href="tour/1/tour-nuoc-ngoai/" >Tour Nước Ngoài</a>
            <div class="submenu" id="sub2">
            	<ul>
            	   <?php  $_smarty_tpl->tpl_vars['m2'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('row')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['m2']->key => $_smarty_tpl->tpl_vars['m2']->value){
?>
                        <?php if ($_smarty_tpl->tpl_vars['m2']->value['tme_root_id']==1){?>
            	           <li><a href="<?php echo $_smarty_tpl->tpl_vars['m2']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['m2']->value['tme_title'];?>
"><?php echo $_smarty_tpl->tpl_vars['m2']->value['tme_title'];?>
</a></li>
                       <?php }?>
                   <?php }} ?>          	
            	</ul>
            </div>	
            <?php }?>
       </div>
    </div>
</div>